﻿using System;


namespace advadev.CanOpen
{

    /// <summary>
    /// Represents a service transfer required event argument
    /// </summary>
    public class ServiceTransferRequiredEventArgs
    {

        /// <summary>
        /// Initializes a new instance of the ServiceTransferRequiredEventArgs
        /// class by the given parameter
        /// </summary>
        /// <param name="transfer">
        /// Required transfer
        /// </param>
        public ServiceTransferRequiredEventArgs(ITransfer transfer)
        {
            Transfer = transfer;
        }

        /// <summary>
        /// Gets the required transfer
        /// </summary>
        public ITransfer Transfer
        {
            get;
            private set;
        }

    }

}
